From 21e0d902e3ec91a3d1fbd6cd47272e5d7bc82ae0 Mon Sep 17 00:00:00 2001 From: oliskoli Date: Tue, 4 Mar 2008 23:26:50 +0000 Subject: [PATCH] gbfile: Change signed into unsigned for back-buffer character (gbeof). --- gbfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gbfile.c b/gbfile.c index 978c9e70f..109845cf6 100644 --- a/gbfile.c +++ b/gbfile.c @@ -532,7 +532,7 @@ gbfeof(gbfile *file) res = gzeof(file->handle.gz); if (!res) { - signed char test; + unsigned char test; int len = gzread(file->handle.gz, &test, 1); if (len == 1) { /* No EOF, put the single byte back into stream */ -- 2.30.2